<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>四季视差效果</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        div {
            width: 100%;
            height: 110vh;
            background-attachment: fixed;
            background-position: center;
            background-size: cover;
        }
        .bz1 {
            background-image: url(spring.jpg);
        }
        .bz2 {
            background-image: url(summer.jpg);
        }
        .bz3 {
            background-image: url(autumn.jpg);
        }
        .bz4 {
            background-image: url(winter.jpg);
        }
    </style>
</head>
<body>
    <div class="bz1"></div>
    <div class="bz2"></div>
    <div class="bz3"></div>
    <div class="bz4"></div>
</body>
</html>